package com.tony.mindhr.mapper;

import com.tony.mindhr.model.Nation;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: NationMapper
 * @Auther: 皮蛋布丁
 * @Date: 2021/04/19/14:10
 * @Description:
 */
public interface NationMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Nation record);

    int insertSelective(Nation record);

    Nation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Nation record);

    int updateByPrimaryKey(Nation record);

    /**
    * @Description: getAllNations 获取民族下拉列表
    * @Param: []
    * @return: java.util.List<com.tony.mindhr.model.Nation>
    * @Author: 皮蛋布丁
    * @Date: 2021/6/14 20:29
    */
    List<Nation> getAllNations();
    
}
